package com.spsoft.vatoutinv.model.vo.matchflow;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 匹配流水审批-当前匹配差异额vo
 *
 * @author : chenxudong
 * @date : 2024/6/27 17:54
 */
@Data
@ApiModel(value = "匹配流水审批-当前匹配差异额对象")
@EqualsAndHashCode
public class VmsMatchAllowErrorVo implements Serializable {

    /**
     * 允许差异金额
     */
    @ApiModelProperty(value = "允许差异金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal yxcyje;

    /**
     * 差异金额说明
     */
    @ApiModelProperty(value = "差异金额说明")
    private String cyjesm;

    /**
     * 当前匹配差异金额
     */
    @ApiModelProperty(value = "当前匹配差异金额")
    @JsonSerialize(using = ToStringSerializer.class)
    private BigDecimal dqppcyje;

}
